package com.ttx.ch02;

public class lambda {
    public static void main(String[] args) {
        Thread thread = new Thread(() -> System.out.println("test lambda..."));
        thread.start();
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
